home *** CD-ROM | disk | FTP | other *** search
- Path: tank.news.pipex.net!pipex!demon!vecnet
- From: gspencer@vecnet.demon.co.uk (Gary K. Spencer)
- Newsgroups: comp.lang.c++
- Subject: Problem building static library with VC4
- Date: Mon, 08 Jan 1996 15:58:31 GMT
- Organization: Vector Networks Limited
- Message-ID: <821116711.9261@vecnet.demon.co.uk>
- NNTP-Posting-Host: vecnet.demon.co.uk
- X-NNTP-Posting-Host: vecnet.demon.co.uk
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- I have been trying to convert some of my projects over from VC++ 2.2 to the
- new VC++ 4.0, and have had the following strange problem when setting up a
- project that builds a static library.
-
- One of the libraries I am trying to build has about 100+ modules. When doing a
- 'Build' or 'Rebuild All' I noticed that alot of files were being produced in
- the WINDOWS\TEMP area ( 4 files per module being compiled), but no .OBJ files
- were ending up in the DEBUG directory of the project.
-
- I have just done another test where I created a static library project with
- one module. The 'Build' was successful, a .OBJ file was created in the DEBUG
- directory of the project. I added another 5 modules to the project, did a
- 'Build'. The .OBJ files arrived in the DEBUG directory as each module was
- compiled. I added another 10 modules to the project, 'Build' again and no .OBJ
- files appear in the DEBUG directory, but the compilers temporary files are
- left in the WINDOWS\TEMP area.
-
- I have tried creating new projects and converting existing VC 2.2 projects
- that build static libraries without any success.
-
- Any ideas ? Anyone successfully compiling a static library under VC++ 4.0 ?.
-
- Thanks
-
- Gary K. Spencer
- Senior Software Engineer
- Vector Networks Limited
-